package sk.naive.talker.props;

import sk.naive.talker.command.*;
import sk.naive.talker.*;

import java.util.*;

/**
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.12 $ $Date: 2004/09/25 09:08:55 $
 */
public class PermissionProperty extends MultiValueProperty {
	public static final String UPROP_PERMISSION = "permissions";

	{
		Set<String> s = new TreeSet<String>();

		s.add(Consts.PERM_SUPERUSER);
		s.add(Password.PERM_PASSWORD_CHANGE);
		s.add(Shutdown.PERM_SHUTDOWN);
		s.add(RoomAdmin.PERM_ROOM_ADMIN);
		s.add(BoardMessageRights.PERM_ALL_BOARD_MESSAGES);
		s.add(TalkerSet.PERM_TALKER_SET);
		s.add(BoardAdmin.PERM_BOARD_ADMIN);

		validValues = Collections.unmodifiableSet(s);
	}
}
